//
//  ClaimPicCollectionViewCell.m
//  MemberProject
//
//  Created by mac on 15/7/17.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//

#import "ClaimPicCollectionViewCell.h"

@implementation ClaimPicCollectionViewCell

- (void)awakeFromNib {
    [self addGestureRecognizer:[[UILongPressGestureRecognizer alloc]initWithTarget:self action:@selector(longGesture:)]];
}

-(void)longGesture:(UILongPressGestureRecognizer *)sender{
    if(sender.state==UIGestureRecognizerStateBegan){
        if([self.delegate respondsToSelector:@selector(longGestureWithCell:)]){
            [self.delegate longGestureWithCell:self];
        }
    }
}
@end
